package www.csdn.project.domain;

import java.io.Serializable;
import java.util.Date;
/**
 * 
 * @author 
 *
 */
public class Collections implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Date time;
	private Integer status;
	private Users users;
	private Messages messages;
		
	public Collections() {
		super();
	}
	
	public Collections(Integer id, Date time, Integer status, Users users,
			Messages messages) {
		super();
		this.id = id;
		this.time = time;
		this.status = status;
		this.users = users;
		this.messages = messages;
	}

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Users getUsers() {
		return users;
	}
	public void setUsers(Users users) {
		this.users = users;
	}
	public Messages getMessages() {
		return messages;
	}
	public void setMessages(Messages messages) {
		this.messages = messages;
	}
	
	
}
